import efinance as ef
stock_code = '600519'
freq = 1
print(dir(ef))
df = ef.stock_code.get_quote_history(stock_code, klt=freq)
df.to_csv(f'{stock_code}.csv', encoding='utf-8-sig', index=None)

